package com.tac.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel
public class Collection {

    private Integer id;
    private Integer userId;
    private Integer productId;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private LocalDateTime createTime;

    private Product product;
}
